/*项目信息管理详情-
*样式：
* 上文字
* 查看身份证正面   查看身份证反面
* */
import 'package:flutter/cupertino.dart';
import 'package:frametrim/utility/sq_color.dart';
import 'package:frametrim/utility/toast.dart';

class TextUpTextViewJumpIcCard extends StatelessWidget {
  late String text1;
  late String jumpUrlZ;
  late String jumpUrlF;

  TextUpTextViewJumpIcCard(this.text1,  this.jumpUrlZ,this.jumpUrlF);

  @override
  Widget build(BuildContext context) {
    return Container(
      margin: EdgeInsets.only(bottom: 15),
      child: Column(
        crossAxisAlignment: CrossAxisAlignment.start,
        children: [
          Text(text1,
              style: TextStyle(fontSize: 14, color: SQColor.color_60black)),
          SizedBox(height: 5),
          Row(
            crossAxisAlignment: CrossAxisAlignment.start,
            children: [
              GestureDetector(
                onTap: () {
                  ToastUtils.show('点击查看${jumpUrlZ}');
                },
                child: Text('查看身份证正面',
                    style:
                    TextStyle(fontSize: 14, color: SQColor.color_0052D9)),
              ),
              SizedBox(width: 30),
              GestureDetector(
                onTap: () {
                  ToastUtils.show('点击查看${jumpUrlF}');
                },
                child: Text('查看身份证反面',
                    style:
                    TextStyle(fontSize: 14, color: SQColor.color_0052D9)),
              )
            ],
          )
        ],
      ),
    );
  }
}
